Optimal. Leaf size=115 \[ -\frac {2 (3 A+5 C) E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \cos (c+d x)}}{5 b^4 d \sqrt {\cos (c+d x)}}+\frac {2 (3 A+5 C) \sin (c+d x)}{5 b^3 d \sqrt {b \cos (c+d x)}}+\frac {2 A \sin (c+d x)}{5 b d (b \cos (c+d x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3012, 2636, 2640, 2639} \[ \frac {2 (3 A+5 C) \sin (c+d x)}{5 b^3 d \sqrt {b \cos (c+d x)}}-\frac {2 (3 A+5 C) E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \cos (c+d x)}}{5 b^4 d \sqrt {\cos (c+d x)}}+\frac {2 A \sin (c+d x)}{5 b d (b \cos (c+d x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2636
Rule 2639
Rule 2640
Rule 3012
Rubi steps
\begin {align*} \int \frac {A+C \cos ^2(c+d x)}{(b \cos (c+d x))^{7/2}} \, dx &=\frac {2 A \sin (c+d x)}{5 b d (b \cos (c+d x))^{5/2}}+\frac {(3 A+5 C) \int \frac {1}{(b \cos (c+d x))^{3/2}} \, dx}{5 b^2}\\ &=\frac {2 A \sin (c+d x)}{5 b d (b \cos (c+d x))^{5/2}}+\frac {2 (3 A+5 C) \sin (c+d x)}{5 b^3 d \sqrt {b \cos (c+d x)}}-\frac {(3 A+5 C) \int \sqrt {b \cos (c+d x)} \, dx}{5 b^4}\\ &=\frac {2 A \sin (c+d x)}{5 b d (b \cos (c+d x))^{5/2}}+\frac {2 (3 A+5 C) \sin (c+d x)}{5 b^3 d \sqrt {b \cos (c+d x)}}-\frac {\left ((3 A+5 C) \sqrt {b \cos (c+d x)}\right ) \int \sqrt {\cos (c+d x)} \, dx}{5 b^4 \sqrt {\cos (c+d x)}}\\ &=-\frac {2 (3 A+5 C) \sqrt {b \cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{5 b^4 d \sqrt {\cos (c+d x)}}+\frac {2 A \sin (c+d x)}{5 b d (b \cos (c+d x))^{5/2}}+\frac {2 (3 A+5 C) \sin (c+d x)}{5 b^3 d \sqrt {b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 81, normalized size = 0.70 \[ \frac {2 \left ((3 A+5 C) \sin (c+d x)-\left ((3 A+5 C) \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )\right )+A \tan (c+d x) \sec (c+d x)\right )}{5 b^3 d \sqrt {b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (C \cos \left (d x + c\right )^{2} + A\right )} \sqrt {b \cos \left (d x + c\right )}}{b^{4} \cos \left (d x + c\right )^{4}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {C \cos \left (d x + c\right )^{2} + A}{\left (b \cos \left (d x + c\right )\right )^{\frac {7}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.00, size = 601, normalized size = 5.23 \[ \frac {2 \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (12 A \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-24 A \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+20 C \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-40 C \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-12 A \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+24 A \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-20 C \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+40 C \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+3 A \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-8 A \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+5 C \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-10 C \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right ) \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +\left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b}}{5 b^{4} \sin \left (\frac {d x}{2}+\frac {c}{2}\right )^{3} \left (8 \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-12 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+6 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {C \cos \left (d x + c\right )^{2} + A}{\left (b \cos \left (d x + c\right )\right )^{\frac {7}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {C\,{\cos \left (c+d\,x\right )}^2+A}{{\left (b\,\cos \left (c+d\,x\right )\right )}^{7/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________